package com.ktjy.mapper;

import com.ktjy.pojo.Flower;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FlowerMapper {
   public List<Flower> selectflower(@Param("flowername") String flowername, @Param("flowernumber") Integer flowernumber,@Param("pageBegin") Integer pageBegin, @Param("pageSize") Integer pageSize);
   public int addflower(Flower flower);
   public int updateflower(Flower flower);
   public int deleteflower(@Param("id")Integer id);
   public int count(@Param("flowername") String flowername, @Param("flowernumber") Integer flowernumber);
   public List<Flower> detailsSelect(@Param("flowerid")Integer flowerid);
}
